package org.intelligentsia.temporal.primitives;

import org.intelligentsia.temporal.TemporalFactory;

/**
 * Factory of StringTemporal.
 * 
 * @author <a href="mailto:jguibert@intelligents-ia.com" >Jerome Guibert</a>
 * 
 */
public class StringTemporalFactory implements TemporalFactory<StringTemporal> {

	@Override
	public StringTemporal newInstance(final StringTemporal result) {
		return new StringTemporal(result.getTransactionTime(), result.getValue());
	}

}
